<include file="Common:header" />
<body>
<table><tr>
<td width="180" valign="top"><include file="Common:adminpanel" /></td>
<td valign="top" >
<div>
<table width="100%" cellspacing="1" cellpadding="3" border="0">
		<tr>
		<th height="30" colspan="10" align="center">
			<div>卖家列表</div>
		</th>
		</tr>
		<tr class="header">
			<td width="80" height="30" align="center">ID</td>
			<td>帐号</td>
			<td>注册时间</td>
			<td>账户余额</td>
			<td>订单总数</td>
			<td>充值总数</td>
			<td>授权码</td>
			<td>操作</td>
		</tr>
		<volist name="slist" id="vo">
		<tr class="row">
			<td height="30" align="center"><{$vo.id}></td>
			<td width="100"><{$vo.nick}></td>
			<td width="200"><{$vo.addtime }></td>
			<td width="120"> <{$vo.paybalance}> </td>
			<td width="120"> 
				<php>
				echo D("Trade")->where("seller_nick='{$vo[nick]}'")->count();
				</php>
			</td>
			<td>
				<php>
				echo D("Payment")->where("nick='{$vo[nick]}' AND paytypeid=1 ")->sum(  'paymoney' );
				</php>
			</td>
			<td><php> echo substr($vo[access_token],0,32).'...' </php></td>
			<td width="200">[<a href="<{:U("recharge?id={$vo['id']}")}>">充值/减款</a>] - [<a href="<{:U("payment?id={$vo['id']}")}>">收支明细</a>] </td>
		</tr>
		</volist>
		<tr>
		<td height="30" colspan="10" align="center"><div><{$page}></div></td>
		</tr>
	</table>
</div>
</td>
</tr>
</table>

</body>
</html>
